package com.cn.news.service;

import com.cn.common.pojo.NewsModel;
import com.cn.common.pojo.ResultModel;
import java.util.List;

public interface NewsService {
    ResultModel newsForNews();
    List<NewsModel> newsByType(int type);
    ResultModel news();
    ResultModel delete(int id);
    ResultModel update(NewsModel newsModel);
    ResultModel insert(NewsModel newsModel);
    ResultModel enable(int id);
    ResultModel findById(int id);
    ResultModel limit(NewsModel newsModel);
    ResultModel newsForId(int id);
}
